﻿religious_cb_enabled_hostility_level = {
	if = { 
		limit = { has_game_rule = c0da_faith_hostility_holy_war_level_hostile }
		value = faith_hostile_level
	}
	else = { value = faith_evil_level }
}

faith_hostility_prevents_marriage_level = {
	if = { 
		limit = { has_game_rule = c0da_faith_hostility_marriage_level_hostile }
		value = faith_hostile_level
	}
	else = { value = faith_evil_level }
}

holy_sites_to_create_temporal_head_of_faith = {
	if = { 
		limit = { has_game_rule = c0da_holy_sites_for_hof_creation_2 }
		value = 2
	}
	else_if = { 
		limit = { has_game_rule = c0da_holy_sites_for_hof_creation_1 }
		value = 1
	}
	else = { value = 0 }
}
holy_sites_to_create_spiritual_head_of_faith = {
	if = { 
		limit = { has_game_rule = c0da_holy_sites_for_hof_creation_2 }
		value = 2
	}
	else_if = { 
		limit = { has_game_rule = c0da_holy_sites_for_hof_creation_1 }
		value = 1
	}
	else = { value = 0 }
}